package bluejack.effect;
import com.eclecticdesignstudio.motion.Actuate;
import nme.display.DisplayObject;

/**
 * ...
 * @author BlueJack
 */

class Tint 
{
	private var target:DisplayObject;
	private var color:Int;
	private var duration:Float;

	public function new(target:DisplayObject,color:Int,duration:Float=0) {
		this.target = target;
		this.color = color;
		Actuate.transform(target, duration).color(color);
	}
	
}